package com.linhun.nickmao.demo.ui;


import android.app.Activity;
import android.support.v4.app.Fragment;

/**
 * Created by NickMao on 2015/4/6.
 */
public abstract class TabViewFragment extends Fragment {
     private String pagerTitle = "";
     private Activity parent;

     public  TabViewFragment(){
         pagerTitle = "无主题";
     }

     public String getPagerTitle(){
         return pagerTitle;
     }
     public void setPagerTitle(String title){pagerTitle = title;}

    @Override
    public void onAttach(Activity activity) {
        super.onAttach(activity);
        parent = activity;
    }
}
